package org.jeecg.modules.product.job.ticket.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.product.job.ticket.entity.TbJobTicket;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * @Description: 电子作业票
 * @Author: jeecg-boot
 * @Date:   2024-08-08
 * @Version: V1.0
 */
public interface ITbJobTicketService extends IService<TbJobTicket> {

	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);


    List<Map> queryJobCountByEventIdAndJobType(TbJobTicket tbJobTicket);
}
